<div class="divupdate">
    <div class="notice" style="display: none"></div>
    <form id="user_add_form">
    <table class="">
        <thead><th colspan="6"><h4>User</h4></th></thead>
        <tbody>
            <tr>
                <td><label for="name">Name</label></td>
                <td><input id="name" name="name" type="text" value="" placeholder="username"/></td>
                    </tr>
                    <tr>
                        <td><label for="level">Group</label></td>
                        <td><select id="level" name="level" style="width: 100px">                                
                            <?php 
                                foreach ($this->level as $value) {
                                    echo $value;
                                }
                            ?>
                            </select>
                            </td>
                            </tr>                                
                    <tr>
                    <td><label for="password">Password</label></td>
                    <td><input id="password" name="password" type="password" value="" placeholder="password"/></td>
                </tr>
                    <tr>
                    <td><label for="password2">Confirm password</label></td>
                    <td><input id="password2" name="password2" type="password" value="" placeholder="confirm password"/></td>
                </tr>            
        <tr>
            <td colspan="2">
                <button id="save-btn" class="green" onclick="Web.Do({formid: '#user_add_form', param: {type: 'save'}});"> Save </button> &nbsp; 
                <button id="cancel-btn" class="" onclick="Web.Do({formid: '#user_add_form', param: {type: 'cancel'}});"> Cancel </button>
            </td>
        </tr>
        </tbody>
        <tfoot></tfoot>
    </table> 
    </form>
</div>